-
Notifications
You must be signed in to change notification settings - Fork 5
🩹 [Patch]: Add Linter settings + fix documentation structure #535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds linter configuration settings to disable multiple validation checks in the project's PSModule configuration. The changes focus on disabling various formatting and linting tools to adjust the project's code quality enforcement.
- Adds a new
Linter
section with environment variable configurations - Disables seven different linter validation checks including Biome, GitHub Actions Zizmor, JSCPD, and Prettier variants
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…bles in PSModule.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…tHubLogGroup functions; add detailed descriptions and examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…GitHub functions to enhance usability and clarity
- Added code examples in the documentation for various GitHub user key management functions including: - Remove-GitHubUserKey - Add-GitHubUserSigningKey - Get-GitHubUserSigningKey - Remove-GitHubUserSigningKey - Add-GitHubUserSocial - Remove-GitHubUserSocial - Update-GitHubUser - Export-GitHubVariable - Get-GitHubVariable - New-GitHubVariable - Remove-GitHubVariable - Add-GitHubVariableSelectedRepository - Get-GitHubVariableSelectedRepository - Remove-GitHubVariableSelectedRepository - Set-GitHubVariableSelectedRepository - Set-GitHubVariable - Update-GitHubVariable - Get-GitHubAppWebhookConfiguration - Get-GitHubAppWebhookDelivery - Invoke-GitHubAppWebhookReDelivery - Test-GitHubWebhookSignature - Update-GitHubAppWebhookConfiguration - Disable-GitHubWorkflow - Enable-GitHubWorkflow - Get-GitHubWorkflow - Get-GitHubWorkflowRun - Remove-GitHubWorkflowRun - Restart-GitHubWorkflowRun - Stop-GitHubWorkflowRun - Start-GitHubWorkflow - New-FunctionTemplate - Removed invisible characters from function definitions to ensure compatibility.
…shell' syntax highlighting for improved clarity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 300 out of 335 changed files in this pull request and generated 17 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/functions/public/Repositories/Repositories/Get-GitHubRepositoryTopic.ps1
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 300 out of 335 changed files in this pull request and generated 6 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/functions/public/Repositories/Permissions/Get-GitHubRepositoryPermission.ps1
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 300 out of 335 changed files in this pull request and generated 6 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/functions/public/Repositories/Permissions/Get-GitHubRepositoryPermission.ps1
Outdated
Show resolved
Hide resolved
…ByTeam, Get-GitHubSecretOwnerList, Get-GitHubRepositoryPermission, Get-GitHubRepositoryTopic, and Set-GitHubVariableSelectedRepository functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 300 out of 336 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Module GitHub - 0.40.4 published to the PowerShell Gallery. |
GitHub release for GitHub v0.40.4 has been created. |
Description
This pull request primarily fixes the documentation of PowerShell functions by adding PowerShell-formatted code blocks to the
.EXAMPLE
sections, due to upgrading fromplatyPS
toMicrosoft.PowerShell.PlatyPS
. Additionally, it introduces configuration changes for linters and minor formatting corrections.Documentation improvements:
.EXAMPLE
sections of many function files insrc/functions/*
. This was needed to retain the code blocks in the examples, asMicrosoft.PowerShell.PlatyPS
lets the user configure this.Linter and configuration updates:
Linter
section to.github/PSModule.yml
to explicitly disable several validation checks, such asVALIDATE_BIOME_FORMAT
andVALIDATE_POWERSHELL
..github/linters/.markdown-lint.yml
by changing double quotes to single quotes for theMD026.punctuation
setting. This was also due toMicrosoft.PowerShell.PlatyPS
adding H3 for types which can be same for.INPUTS
and.OUTPUTS
.Encoding and formatting corrections: